<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'invoice-emp-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'invoice'); ?>
		<?php echo $form->textField($model,'invoice',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'invoice'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'counter'); ?>
		<?php echo $form->textField($model,'counter',array('size'=>3,'maxlength'=>3)); ?>
		<?php echo $form->error($model,'counter'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'credit'); ?>
		<?php echo $form->textField($model,'credit',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'credit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'employeeno'); ?>
		<?php echo $form->textField($model,'employeeno',array('size'=>4,'maxlength'=>4)); ?>
		<?php echo $form->error($model,'employeeno'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'regularhours'); ?>
		<?php echo $form->textField($model,'regularhours',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'regularhours'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'overtimehours'); ?>
		<?php echo $form->textField($model,'overtimehours',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'overtimehours'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'laboramount'); ?>
		<?php echo $form->textField($model,'laboramount',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'laboramount'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'overhead'); ?>
		<?php echo $form->textField($model,'overhead',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'overhead'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'dispatch'); ?>
		<?php echo $form->textField($model,'dispatch',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'dispatch'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->